using Assets.Scripts.GDK;
using DG.Tweening;
using UnityEngine;

namespace Brick
{
	public class QuickPanel : gdk_base_panel
	{
		public GameObject rower;

		public void onShowEvent()
		{
			base.gameObject.SetActive(value: true);
			rower.SetActive(value: true);
			bool bShow = false;
			DOTween.To(() => 1, delegate (int x)
			{
				if (x % 30 == 0)
				{
					bShow = !bShow;
				}
				rower.SetActive(bShow);
			}, 99, 2f).OnComplete(delegate
			{
				rower.SetActive(value: false);
			});
		}

		public void onHideEvent()
		{
			base.gameObject.SetActive(value: false);
			rower.SetActive(value: false);
		}
	}
}

